﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Index.aspx.cs" Inherits="TCHSHue.Modules.Index" %>
<%@ Register TagPrefix="ucSlideShow" TagName="Spinner" 
    Src="~/Modules/IndexControl/Slider/ctrImageSlider.ascx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <link href="../Style/CSS/paging.css" rel="stylesheet" type="text/css" />
    <link href="../Style/Images/minilogo.png" rel="Shortcut Icon" />
    <link href="../Style/CSS/IndexUserControl.css" rel="stylesheet" type="text/css" />
    <link href="../Style/CSS/IndexLayout.css" rel="stylesheet" type="text/css" />
    <link href="../Style/CSS/IndexMenu.css" rel="stylesheet" type="text/css" />
    <link href="../Style/CSS/simple.css" rel="stylesheet" type="text/css" />
    <link href="../Style/CSS/nivo-style.css" rel="stylesheet" type="text/css" />
    <link href="../Style/CSS/nivo-slider.css" rel="stylesheet" type="text/css" />
    <script src="../Scripts/jquery-1.9.0.js" type="text/javascript"></script>
    <link href="../Style/CSS/IndexUserControl.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
        var indexImage = 0;
        $(function () {
            $('div').each(function () {
                var style = $(this).attr('style');
                if (style != null)//.search('z-index: 2147483647;');
                {

                    var isFound = style.indexOf('z-index: 2147483647;');
                    if (isFound != -1)
                        $(this).remove();
                }
            });
//            if (slide())
//                setInterval("slide()", 10000);
            //setTimeout("slide()", 3000);
        });
        function slide() {
            var htmlGallery = $('#galleria').html();
            if (htmlGallery == null || htmlGallery == "")
                return false;
            var listImage = htmlGallery.split("|");
            if (indexImage == (listImage.length - 1))
                indexImage = 0;
            else
                indexImage++;

            document.getElementById("displayImage").innerHTML = '<img src="../../Upload/SlideImage/' + listImage[indexImage] + '" />';
            if (listImage.length <= 1)
                return false;
            else
                return true;
            //$('#displayImage').html('<img src="../../Upload/SlideImage/' + listImage[indexImage] + '/>');
        }
    </script>
    <style type="text/css">
        #imageSlide
        {
            width: 525px;
            padding: 0px;
            background: transparent;
            min-height: 200px;
        }
        #displayImage img
        {
            width: 515px;
            height: 195px;
            margin: auto;
        }
    </style>
    <title>Văn phòng ĐKQSĐ thành phố Huế</title>
</head>
<body>
    <form id="form1" runat="server">
    <%--<img alt="full screen background image" src="../Style/Images/bg_trongdong.jpg" id="full-screen-background-image" />--%>
    <div id="wrapper">
        <div id="banner">
        </div>
        <div id="mainmenu">
            <div id="submainmenu" style="width: 805px; margin: auto" runat="server">
                <ul>
                    <li><a class="selected" style="color: #326F9F" href="Index.aspx" title="">TRANG CHỦ</a>
                    </li>
                    <li><a href="#" title="">GIỚI THIỆU</a>
                        <ul>
                            <li><a href="Index.aspx?mode=gioithieu&id=cocautochuc" title="">Cơ cấu tổ chức</a></li>
                            <li><a href="Index.aspx?mode=gioithieu&id=nhiemvu" title="">Nhiệm vụ</a></li>
                        </ul>
                    </li>
                    <li><a href="Index.aspx?mode=thutuchanhchinh" title="">THỦ TỤC HÀNH CHÍNH</a></li>
                    <li><a href="Index.aspx?mode=bieumau" title="">BIỂU MẪU</a></li>
                    <li><a href="#" title="">VĂN BẢN PHÁP LUẬT</a>
                        <ul>
                            <li><a href="Index.aspx?mode=luat" title="">Luật</a></li>
                            <li><a href="Index.aspx?mode=nghidinh" title="">Nghị định</a></li>
                            <li><a href="Index.aspx?mode=thongtu" title="">Thông tư</a></li>
                            <li><a href="Index.aspx?mode=thongtulientich" title="">Thông tư liên tịch</a></li>
                            <li><a href="Index.aspx?mode=quyetdinh" title="">Quyết định</a></li>
                        </ul>
                    </li>
                    <li><a href="Index.aspx?mode=hoidap" title="">HỎI ĐÁP</a></li>
                    <li><a href="Index.aspx?mode=danhsachtintuc&idTL=10" title="">THÔNG BÁO</a></li>
                    <li><a href="Admin.aspx" title="">QUẢN TRỊ</a></li>
                </ul>
            </div>
        </div>
        <div id="sidebar_left">
            <div class="modul borderRadius">
                <div class="title">
                    <span class="tieuDe GT"></span><span>Giới thiệu</span>
                </div>
                <div class="modulContent">
                    <ul class="index_menuleft">
                        <li><a href="Index.aspx?mode=gioithieu&id=cocautochuc" title="">Cơ cấu tổ chức</a></li>
                        <li><a href="Index.aspx?mode=gioithieu&id=nhiemvu" title="">Nhiệm vụ</a></li>
                    </ul>
                </div>
            </div>
            <br />
            <div class="modul borderRadius">
                <div class="title">
                    <span class="tieuDe BM"></span><span>Thủ tục - Biểu mẫu</span>
                </div>
                <div class="modulContent">
                    <ul class="index_menuleft">
                        <li><a href="Index.aspx?mode=thutuchanhchinh" title="">Thủ tục hành chính</a></li>
                        <li><a href="Index.aspx?mode=bieumau" title="">Biểu mẫu</a></li>
                    </ul>
                </div>
            </div>
            <br />
            <div class="modul borderRadius">
                <div class="title">
                    <span class="tieuDe LW"></span><span>Văn bản pháp luật</span>
                </div>
                <div class="modulContent">
                    <ul class="index_menuleft">
                        <li><a href="Index.aspx?mode=luat" title="">Luật</a></li>
                        <li><a href="Index.aspx?mode=nghidinh" title="">Nghị định</a></li>
                        <li><a href="Index.aspx?mode=thongtu" title="">Thông tư</a></li>
                        <li><a href="Index.aspx?mode=thongtulientich" title="">Thông tư liên tịch</a></li>
                        <li><a href="Index.aspx?mode=quyetdinh" title="">Quyết định</a></li>
                        <li><a href="Index.aspx?mode=quyhoach" title="">Thông tin quy hoạch</a></li>
                    </ul>
                </div>
            </div>
            <br />
            <div class="modul borderRadius">
                <div class="title">
                    <span class="tieuDe LKWS"></span><span>Liên kết Website</span>
                </div>
                <div class="modulContent">
                    <div id="lkWebsite" runat="server">
                    </div>
                </div>
            </div>
        </div>
        <div id="sidebar_right">
            <br />
            <div id="divNgayThang" runat="server" class="modulRight">
                <asp:Label ID="lbNgayThang" CssClass="ngaythang" runat="server" Text="Thứ {0}, ngày {1} tháng {2} năm {3}"></asp:Label>
            </div>
            <br />
            <div id="divTimKiem" runat="server" class="modulRight">
            </div>
            <%--<div class="modul borderRadius">
                <div class="title borderRadius">
                    <span class="tieuDeSP"></span><span>Hỗ trợ trực tuyến</span>
                </div>
                <div class="modulContent">
                    <table>
                        <tr>
                            <td style="text-align:center">
                                <a href="ymsgr:sendIM?botdoaluoi">
                                    <img alt="" border="0" src="http://opi.yahoo.com/online?u=botdoaluoi&m=g&t=2" style="margin-left: 18px;" /></a>
                            </td>
                        </tr>
                        <tr>
                            <td style="text-align:center">
                                <a href="ymsgr:sendIM?tink30a">
                                    <img alt="" border="0" src="http://opi.yahoo.com/online?u=botdoaluoi&m=g&t=2" style="margin-left: 18px;" /></a>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>--%>
            <br />
            <div class="modul borderRadius">
                <div class="title">
                    <span class="tieuDe TK"></span><span>Thống kê</span>
                </div>
                <div class="modulContent">
                    <table>
                        <tr>
                            <td>
                                Đang online:
                            </td>
                            <td>
                                <asp:Label ID="userOnline" runat="server" Text="0"></asp:Label>
                            </td>
                        </tr>
                        <%--<tr>
                            <td>
                                Lượt truy cập:
                            </td>
                            <td>
                                <asp:Label ID="totalOnline" runat="server" Text="0"></asp:Label>
                            </td>
                        </tr>--%>
                    </table>
                </div>
            </div>
        </div>
        <div runat="server" id="content">
            <%-- <div id="galleria" runat="server">
            </div>--%>
           <%-- <div class="inbox" id="imageSlide" runat="server">
                <div id="displayImage">
                </div>
                <div style="display: none" id="galleria" runat="server">
                </div>
            </div>--%>
            <ucSlideShow:Spinner runat="server" ID="slideShowImage" />
            <div runat="server" id="divTraCuu">
            </div>
            <div runat="server" id="divTinTuc">
            </div>
        </div>
        <div id="footer">
            <%-- <div id="hr">
            </div>--%>
            <table style="width: 100%">
                <tr>
                    <td colspan="2" class="line">
                    </td>
                </tr>
            </table>
            <b>VĂN PHÒNG ĐĂNG KÝ QUYỀN SỬ DỤNG ĐẤT THÀNH PHỐ HUẾ</b><br />
            01 Phạm Hồng Thái - Phường Vĩnh Ninh - Thành phố Huế<br />
            Điện thoại: 054.3831665
        </div>
    </div>
    </form>
    <%-- <script type="text/javascript">
        // Load the classic theme
        Galleria.loadTheme('../../../Scripts/galleria.classic.min.js');
        // Initialize Galleria
        Galleria.run('#galleria');
    </script>--%>
</body>
</html>
